<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8" />
    <title>
      Pomelo
    </title>
    <meta http-equiv="content-type" content="text/html;charset=utf-8" />
    <meta http-equiv="content-style-type" content="text/css" />
    <meta http-equiv="content-scripte-type" content="text/javascript" />
    <meta name="author" content="netease" />
    <meta name="version" content="1.0" />
    <meta name="keywords" content="pomelo" />
    <link type="text/css" rel="stylesheet" href="css/base.css" />
    <script src="./js/lib/build/build.js" type="text/javascript"></script>
    <script type="text/javascript">
      require('boot');
    </script>

    <script src="./js/client.js" type="text/javascript">
    </script>
  </head>
  <body>
        <textarea id = "showMsg" readonly="readonly" class="g-textarea">消息框：
        </textarea>
        <br/>
      <input id="name" type="text" placeholder="enter your name"/>
      <input id="passwd" type="password" placeholder="enter your password"/>
      <br/>
      <div class="g-button">
        <input id="connect" type="button" value="连接服务器" onclick="connect()"/>
        <input id="register" type="button" value="注册帐号" onclick="register()"/>
        <input id="login" type="button" value="登录" onclick="login()"/>
        <input id="logout" type="button" value="登出" onclick="logout()"/>
        <br/>
        <input id="change_scene" type="button" value="切换场景" onclick="change_scene()"/>
        <br/>
        <input id="msg" type="text" placeholder="enter your msg"/>
        <br/>
        <input id="global_broadcast" type="button" value="世界喊话" onclick="global_broadcast()"/>
        <input id="scene_chat" type="button" value="场景聊天" onclick="scene_chat()"/>
        <br/>
        <input id="uid" type="text" placeholder="enter a uid"/>
        <input id="private_msg" type="text" placeholder="enter your msg"/>
        <br/>
        <input id="private_chat" type="button" value="私人消息" onclick="private_chat()"/>
      </div>
  </body>
</html>
